// 车辆信息
import ajax from './ajax'

// 车辆列表
// {
// 	agentIds: "2"
// 	licensePlateNo: ""
// 	mobile: ""
// 	name: ""
// 	page: 1
// 	truckType: ""
// 	pageSize: 6
// }
export const getVehicleList = (data) => {
	return ajax.post('/monitor/api/agentTruck/queryAgentTruckPage', {
		pageSize: 15,
		...data
	})
}
// 车辆详情
// {"agentTruckId":"5A6ECB32EC474A7EBA01A8E1C9D5563D"}
export const getVehicleInfo = (agentTruckId) => {
	return ajax.post('/monitor/api/agentTruck/queryAgentTruckInfo', {
		agentTruckId
	})
}